#pragma once
#include"framework.h"
#include"SimpleWindow.h"
#include"SettingWindow.h"
#include"SciEditor.h"
class MainWindow:public sw::SimpleWindow
{
	SciEditor* _editor=nullptr;
	SettingWindow* _setting=nullptr;
public:
	MainWindow();
	LRESULT CALLBACK 
		WndProc(HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM lParam)override;

	void open();
	void openFile(TCHAR* str);
	void save();
	void saveFile(TCHAR* str);
};

